package com.greyu.ysj.mapper;

import com.greyu.ysj.entity.CbtBallot;
import com.greyu.ysj.entity.CbtBallotExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CbtBallotMapper {
    long countByExample(CbtBallotExample example);

    int deleteByExample(CbtBallotExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CbtBallot record);

    int insertSelective(CbtBallot record);

    List<CbtBallot> selectByExample(CbtBallotExample example);
    
    List selectCoinVoteList();

    CbtBallot selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CbtBallot record, @Param("example") CbtBallotExample example);

    int updateByExample(@Param("record") CbtBallot record, @Param("example") CbtBallotExample example);

    int updateByPrimaryKeySelective(CbtBallot record);

    int updateByPrimaryKey(CbtBallot record);
}